import React from 'react'
import {Outlet} from "react-router-dom"
import {mainRouter} from "../router/RouterConfig"
import My_footer from '../components/My_footer'

function Index() {
  return (
    <div className='index'>
      <main>
        <Outlet/>
      </main>
      <footer>
        <My_footer mainRouter={mainRouter}></My_footer>
      </footer>
    </div>
  )
}

export default Index